import { ref } from 'vue';
import { defineStore } from 'pinia';

export const useSafeHeightStore = defineStore('counter', () => {
  const topH = ref(0);
  const bottomH = ref(0);
  function setup(result: number[]) {
    topH.value = result[0];
    bottomH.value = result[1];
  }

  return { topH, bottomH, setup };
})
